package com.xiguaji.tiktok.task.market;

import com.xxl.job.core.log.XxlJobFileAppender;

public class LogUtil {

    public static int getLogId(){
        String logDetail = XxlJobFileAppender.contextHolder.get();
        int logId = Integer.parseInt(logDetail.substring(logDetail.lastIndexOf("\\"),logDetail.lastIndexOf(".")));
        return logId;
    }
}
